﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XDCCManager.Converters
{
	public class DataTypeConverter : System.Windows.Data.IValueConverter
	{
		#region IValueConverter Members

		public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
		{
			if (value == null)
				return null;
			return value.GetType();
		}

		public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
		{
			throw new NotImplementedException();
		}

		#endregion
	}
}
